package com.example.webdemo.service;

import com.example.webdemo.model.Article;
import com.example.webdemo.model.HomeArticle;

import java.util.List;

/**
 * @author zp
 * @version 1.0
 * @description: ArticleService
 * @date 2023/7/31 19:06
 */
public interface HomeArticleService {
    int deleteByPrimaryKey(Integer id);

    int insert(HomeArticle record);

    int insertSelective(HomeArticle record);

    HomeArticle selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(HomeArticle record);

    int updateByPrimaryKey(HomeArticle record);

    List<HomeArticle> selectAll();
}
